-- background: 2675 from stack: in -- bmap block id: 3225 -- flags: 0000 -- background id: 0 -- name: bg id 8957 ----- HyperTalk script ----- on softLink global hgt global theRect global theScroll global Reflist global RefSelect put item 2 of the clickLoc into Ver subtract item 2 of theRect from Ver put (Ver div hgt) into lineNum -- get style of target -- if it is "scrolling" then add (theScroll div hgt) + 1 to lineNum -- end if get line lineNum of cd fld "cardIDs" push cd go it end softLink on setRects global RefSelect global theRect global hgt global butRect put false into RefSelect get rect of cd fld "whichOnes" put it into theRect put it into butRect subtract 16 from item 3 of butRect set rect of cd btn dildo to 0,0,0,0 get textHeight of cd fld "whichOnes" put it into hgt end setRects